<%@ page pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="language" value="${not empty param.language ? param.language : not empty language ? language : pageContext.request.locale}" scope="session" />
<fmt:setLocale value="${language}" />
<fmt:setBundle basename="com.ticketbox.web.i18n.messages" />
<!DOCTYPE html>
<html lang="${language}">
    <head>
        <title><fmt:message key="application.title" /> - <fmt:message key="ui.connexion" /></title>
        <link rel="stylesheet" type="text/css" href="resources/css/bootstrap.min.css"/>
        <link rel="stylesheet" type="text/css" href="resources/css/login.css"/>
        <script src="resources/js/jquery-2.1.0.min.js"></script>
        <script src="resources/js/bootstrap.min.js"></script>
    </head>
    <body>
    <div class="container">
      <form class="form-signin">
        <h2 class="form-signin-heading"><fmt:message key="ui.authentication" /></h2>
        <input type="email" class="form-control" placeholder="<fmt:message key="user.email" />" required autofocus>
        <input type="password" class="form-control" placeholder="<fmt:message key="user.password" />" required>
        <button class="btn btn-lg btn-primary btn-block" type="submit"><fmt:message key="ui.connexion" /></button>
      </form>
      <hr/>
      <jsp:include page="elements/changelanguage.jsp" />
    </div>
    </body>
</html>